

#import <UIKit/UIKit.h>



@interface NVWebViewController : UIViewController <UIWebViewDelegate> {
	UIWebView *webView;
	UILabel *errorLabel;
	UIButton *retryButton;
	UIActivityIndicatorView *titleLoadingIndicator;
	
	NSTimeInterval startMillis;
	NSURL	 *retryUrl;
}

@property (nonatomic, retain) IBOutlet UIWebView *webView;
@property (nonatomic, retain) IBOutlet UILabel *errorLabel;
@property (nonatomic, retain) IBOutlet UIButton *retryButton;
@property (retain, nonatomic) IBOutlet UILabel *textTitle;

@property (retain, nonatomic) NSDictionary * rawData;
@property (nonatomic, assign) BOOL disableWebTitle; //是否禁用网页标题，默认不禁用，即显示网页的标题

- (IBAction)retry:(id)sender;

- (IBAction)actionBack:(id)sender;
- (IBAction)actionRemove:(id)sender;

- (void)setTitleStr:(NSString*)title;

@property (retain, nonatomic) IBOutlet UIActivityIndicatorView *loading;
@end
